<template>
  <view>
    <web-view :src="url"></web-view>
  </view>
</template>

<script>
export default {
  data() {
    return {
      url: "",
    };
  },
  onLoad(options) {
    console.log(options.userId, options.username);
    let userId = options.userId;
    let username = options.username;
    // this.url = `http://172.18.7.234:8097/#/index?userId=${userId}&username=${username}`;
    this.url = `https://xxxxx/h5_mn/index.html#/index?userId=${userId}&username=${username}`;
    // this.url = `https://https://xxxxx/h5_mn/index.html#/index?userId=${userId}&username=${username}`; // https://usp.id-cas.cn/
    console.log(this.url);
  },
};
</script>

<style></style>
